package com.example.reclameaquidoseuonibus.activitys;

import com.example.reclameaquidoseuonibus.R;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;

public class SplashActivity extends Activity{

	private static int TEMPO_EXECUCAO = 3000;
	
	protected void onCreate (Bundle savedInstanceState){
		super.onCreate(savedInstanceState);
		setContentView(R.layout.splash_screen);
		
		new Handler().postDelayed(new Runnable(){

			public void run() {
				Intent i = new Intent(SplashActivity.this, LoginActivity.class);
				startActivity(i);
				
				finish();
			}
			
			
		}, TEMPO_EXECUCAO);
		
	}
}